From a057ff078b38e96c2a27b15c7d91d4f1e61c23b0 Mon Sep 17 00:00:00 2001 From: Ewan Mellor Date: Fri, 24 Nov 2006 14:05:59 +0000 Subject: [PATCH] Fix vncdisplay handling. Signed-off-by: Ewan Mellor --- tools/python/xen/xend/image.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/python/xen/xend/image.py b/tools/python/xen/xend/image.py index e9506f2d10..ab80f3e742 100644 --- a/tools/python/xen/xend/image.py +++ b/tools/python/xen/xend/image.py @@ -377,8 +377,8 @@ class HVMImageHandler(ImageHandler): return ret if vnc: - vncdisplay = sxp.child_value(config, 'vncdisplay', - int(self.vm.getDomid())) + vncdisplay = int(sxp.child_value(config, 'vncdisplay', + self.vm.getDomid())) vncunused = sxp.child_value(config, 'vncunused') if vncunused: -- 2.30.2